package com.it.service;

import com.it.domain.User;

import java.util.List;

public interface UserService {

    public Object AddUser(User user);

    public boolean DeleteUser(Integer id);

    public boolean UpdateUser(User user);

    public User SelectById(Integer id);

    public List<User> SelectAll(Integer PageNum,Integer PageSize,String username);

    public Integer SelectTotal();

    public User login(String username,String password);

    public List<User> SelectRatio();

    public List<User> SelectAddress();
}
